<?php
return [
    "name" => "会员端",
    "list" => [
//---------------------------------------------------------华丽的分割线----------------------------------------------------
    	"用户登录" => [
            "desc"  => "用户短信登录",
            "url"   => "/v1/user/smslogin",
            "method"=> "post",
            "param" => [
                "username" => [
                    "lable"         => "账号或手机号",
                    "type"          => "text",
                    "placeholder"   => "账号或手机号",
                    "value"         => "",
                ],
                "password" => [
                    "lable"         => "密码",
                    "type"          => "text",
                    "placeholder"   => "密码",
                    "value"         => "",
                ],
                "img_token" => [
                    "lable"         => "验证码token",
                    "type"          => "text",
                    "placeholder"   => "验证码token",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "图形验证码",
                    "type"          => "text",
                    "placeholder"   => "图形验证码",
                    "value"         => "",
                ],
            ],
        ],
        "忘记密码" => [
            "desc"  => "忘记密码",
            "url"   => "/v1/user/forget",
            "method"=> "post",
            "param" => [
                "userphone" => [
                    "lable"         => "手机号",
                    "type"          => "text",
                    "placeholder"   => "账号",
                    "value"         => "",
                ],
                "password" => [
                    "lable"         => "新密码",
                    "type"          => "text",
                    "placeholder"   => "新密码",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "手机验证码",
                    "type"          => "text",
                    "placeholder"   => "手机验证码",
                    "value"         => "",
                ],
                "agreement" => [
                    "lable"         => "同意协议",
                    "type"          => "text",
                    "placeholder"   => "同意协议",
                    "value"         => "1",
                ],
            ],
        ],
        "用户注册" => [
            "desc"  => "用户注册",
            "url"   => "/v1/user/register",
            "method"=> "post",
            "param" => [
                "username" => [
                    "lable"         => "用户名",
                    "type"          => "text",
                    "placeholder"   => "用户名",
                    "value"         => "",
                ],
                "userphone" => [
                    "lable"         => "手机号",
                    "type"          => "text",
                    "placeholder"   => "账号",
                    "value"         => "",
                ],
                "password" => [
                    "lable"         => "密码",
                    "type"          => "text",
                    "placeholder"   => "密码",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "手机验证码",
                    "type"          => "text",
                    "placeholder"   => "手机验证码",
                    "value"         => "",
                ],
                "agreement" => [
                    "lable"         => "同意协议",
                    "type"          => "text",
                    "placeholder"   => "同意协议",
                    "value"         => "1",
                ],
            ],
        ],
        "退出登录" => [
            "desc"  => "退出登录",
            "url"   => "/v1/user/logout",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
        ],
        "首页楼层" => [
            "desc"  => "首页楼层",
            "url"   => "/v1/goodscat/lists",
            "method"=> "post",
            "param" => [
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "当前页数",
                    "value"         => "1",
                ],
                "limit" => [
                    "lable"         => "条数",
                    "type"          => "text",
                    "placeholder"   => "每页条数",
                    "value"         => "8",
                ],
            ],
        ],
        "商品列表" => [
            "desc"  => "首页楼层",
            "url"   => "/v1/goods/lists",
            "method"=> "post",
            "param" => [
                "keyword" => [
                    "lable"         => "关键词",
                    "type"          => "text",
                    "placeholder"   => "搜索商品的关键词",
                    "value"         => "",
                ],
                "cat_id" => [
                    "lable"         => "商品分类ID",
                    "type"          => "text",
                    "placeholder"   => "商品分类ID",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "页数",
                    "value"         => "",
                ],
                "limit" => [
                    "lable"         => "每页条数",
                    "type"          => "text",
                    "placeholder"   => "每页条数",
                    "value"         => "",
                ],
                "order" => [
                    "lable"         => "排序方式",
                    "type"          => "text",
                    "placeholder"   => "排序方式 1、综合 2、销量 3、价格",
                    "value"         => "",
                ],
            ],
        ],
        "商品分类列表" => [
            "desc"  => "商品分类列表",
            "url"   => "/v1/goodscat/getcattree",
            "method"=> "post",
            "param" => [
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "当前页数",
                    "value"         => "1",
                ],
                "limit" => [
                    "lable"         => "条数",
                    "type"          => "text",
                    "placeholder"   => "每页条数",
                    "value"         => "8",
                ],
            ],
        ],
        "商品详情" => [
            "desc"  => "商品详情",
            "url"   => "/v1/goods/detail",
            "method"=> "post",
            "param" => [
                "id" => [
                    "lable"         => "商品主ID",
                    "type"          => "text",
                    "placeholder"   => "商品主ID",
                    "value"         => "",
                ],
                "gid" => [
                    "lable"         => "属性商品ID",
                    "type"          => "text",
                    "placeholder"   => "属性商品ID",
                    "value"         => "",
                ],
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
        ],
        "查询商品规格" => [
            "desc"  => "商品详情",
            "url"   => "/v1/goods/findgoods",
            "method"=> "post",
            "param" => [
                "title" => [
                    "lable"         => "规格名称",
                    "type"          => "text",
                    "placeholder"   => "规格名称",
                    "value"         => "",
                ],
                "goods_id" => [
                    "lable"         => "商品ID",
                    "type"          => "text",
                    "placeholder"   => "商品ID",
                    "value"         => "",
                ],
            ],
        ],
        "添加购物车" => [
            "desc"  => "添加购物车",
            "url"   => "/v1/cart/add",
            "method"=> "post",
            "param" => [
                "goods_id" => [
                    "lable"         => "商品主ID",
                    "type"          => "text",
                    "placeholder"   => "商品主ID",
                    "value"         => "",
                ],
                "attr_id" => [
                    "lable"         => "属性商品ID",
                    "type"          => "text",
                    "placeholder"   => "属性商品ID",
                    "value"         => "",
                ],
                "nums" => [
                    "lable"         => "数量",
                    "type"          => "text",
                    "placeholder"   => "数量",
                    "value"         => "",
                ],
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
        ],
        "我的购物车" => [
            "desc"  => "我的购物车",
            "url"   => "/v1/cart/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
        ],
        "删除购物车商品" => [
            "desc"  => "删除购物车商品",
            "url"   => "/v1/cart/del",
            "method"=> "post",
            "param" => [
                "id" => [
                    "lable"         => "购物车商品ID",
                    "type"          => "text",
                    "placeholder"   => "购物车商品ID",
                    "value"         => "",
                ],
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
        ],
        "获取默认地址" => [
            "desc"  => "获取默认地址",
            "url"   => "/v1/address/getdefault",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
        ],
        "获取用户地址列表" => [
            "desc"  => "获取用户地址列表",
            "url"   => "/v1/address/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
        ],
        "保存添加地址" => [
            "desc"  => "获取用户地址列表",
            "url"   => "/v1/address/addsave",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "addressname" => [
                    "lable"         => "收货人姓名",
                    "type"          => "text",
                    "placeholder"   => "收货人姓名",
                    "value"         => "",
                ],
                "pid" => [
                    "lable"         => "省ID",
                    "type"          => "text",
                    "placeholder"   => "省ID",
                    "value"         => "",
                ],
                "cid" => [
                    "lable"         => "市ID",
                    "type"          => "text",
                    "placeholder"   => "市ID",
                    "value"         => "",
                ],
                "did" => [
                    "lable"         => "区ID",
                    "type"          => "text",
                    "placeholder"   => "区ID",
                    "value"         => "",
                ],
                "addressmx" => [
                    "lable"         => "详细地址",
                    "type"          => "text",
                    "placeholder"   => "详细地址",
                    "value"         => "",
                ],
                "addresstel" => [
                    "lable"         => "联系电话",
                    "type"          => "text",
                    "placeholder"   => "联系电话",
                    "value"         => "",
                ],
                "is_default" => [
                    "lable"         => "是否默认",
                    "type"          => "text",
                    "placeholder"   => "0否 1默认",
                    "value"         => "",
                ],
            ],
        ],
        "地址详情" => [
            "desc"  => "获取用户地址详情",
            "url"   => "/v1/address/details",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "id" => [
                    "lable"         => "地址ID",
                    "type"          => "text",
                    "placeholder"   => "地址ID",
                    "value"         => "",
                ],
            ],
        ],
        "保存修改地址" => [
            "desc"  => "保存修改地址",
            "url"   => "/v1/address/editSave",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "addressid" => [
                    "lable"         => "地址ID",
                    "type"          => "text",
                    "placeholder"   => "地址ID",
                    "value"         => "",
                ],
                "addressname" => [
                    "lable"         => "收货人姓名",
                    "type"          => "text",
                    "placeholder"   => "收货人姓名",
                    "value"         => "",
                ],
                "pid" => [
                    "lable"         => "省ID",
                    "type"          => "text",
                    "placeholder"   => "省ID",
                    "value"         => "",
                ],
                "cid" => [
                    "lable"         => "市ID",
                    "type"          => "text",
                    "placeholder"   => "市ID",
                    "value"         => "",
                ],
                "did" => [
                    "lable"         => "区ID",
                    "type"          => "text",
                    "placeholder"   => "区ID",
                    "value"         => "",
                ],
                "addressmx" => [
                    "lable"         => "详细地址",
                    "type"          => "text",
                    "placeholder"   => "详细地址",
                    "value"         => "",
                ],
                "addresstel" => [
                    "lable"         => "联系电话",
                    "type"          => "text",
                    "placeholder"   => "联系电话",
                    "value"         => "",
                ],
                "is_default" => [
                    "lable"         => "是否默认",
                    "type"          => "text",
                    "placeholder"   => "0否 1默认",
                    "value"         => "",
                ],
            ],
        ],
        "删除地址" => [
            "desc"  => "删除地址",
            "url"   => "/v1/address/del",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "id" => [
                    "lable"         => "地址ID",
                    "type"          => "text",
                    "placeholder"   => "地址ID",
                    "value"         => "",
                ],
            ],
        ],
        "设置默认地址" => [
            "desc"  => "设置默认地址",
            "url"   => "/v1/address/setDefault",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "id" => [
                    "lable"         => "地址ID",
                    "type"          => "text",
                    "placeholder"   => "地址ID",
                    "value"         => "",
                ],
            ],
        ],
        "创建订单" => [
            "desc"  => "创建订单",
            "url"   => "/v1/order/add",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "goods_ids" => [
                    "lable"         => "商品",
                    "type"          => "text",
                    "placeholder"   => "商品ID|数量，商品ID|数量",
                    "value"         => "",
                ],
                "address_id" => [
                    "lable"         => "地址ID",
                    "type"          => "text",
                    "placeholder"   => "地址ID",
                    "value"         => "",
                ],
                "payPrice" => [
                    "lable"         => "支付金额",
                    "type"          => "text",
                    "placeholder"   => "需支付金额",
                    "value"         => "",
                ],
            ],
        ],
        "订单列表" => [
            "desc"  => "订单列表",
            "url"   => "/v1/order/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "查询页数",
                    "type"          => "text",
                    "placeholder"   => "查询页数",
                    "value"         => "",
                ],
                "limit" => [
                    "lable"         => "每页条数",
                    "type"          => "text",
                    "placeholder"   => "每页条数",
                    "value"         => "",
                ],
                "goodsname" => [
                    "lable"         => "查询商品名称",
                    "type"          => "text",
                    "placeholder"   => "查询商品名称",
                    "value"         => "",
                ],
                "fahuostatus" => [
                    "lable"         => "发货状态",
                    "type"          => "text",
                    "placeholder"   => "发货状态0未发货， 1部分发货",
                    "value"         => "",
                ],
            ],
        ],
        "订单评价" => [
            "desc"  => "订单评价",
            "url"   => "/v1/order/evaluate",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "id" => [
                    "lable"         => "订单id",
                    "type"          => "text",
                    "placeholder"   => "订单id",
                    "value"         => "",
                ],
            ],
        ],
        "保存订单评价" => [
            "desc"  => "订单评价",
            "url"   => "/v1/order/saveevaluate",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "order_goods_id" => [
                    "lable"         => "订单id",
                    "type"          => "text",
                    "placeholder"   => "订单id",
                    "value"         => "",
                ],
                "goods_id" => [
                    "lable"         => "商品id",
                    "type"          => "text",
                    "placeholder"   => "商品id",
                    "value"         => "",
                ],
                "goods_price_id" => [
                    "lable"         => "商品规格id",
                    "type"          => "text",
                    "placeholder"   => "商品规格id",
                    "value"         => "",
                ],
                "checked" => [
                    "lable"         => "是否收到货物",
                    "type"          => "text",
                    "placeholder"   => "是否收到货物",
                    "value"         => "",
                ],
                "grade" => [
                    "lable"         => "评价等级",
                    "type"          => "text",
                    "placeholder"   => "评价等级（0非常不满意 1一般 2满意 3非常满意）",
                    "value"         => "",
                ],
                "content" => [
                    "lable"         => "评价",
                    "type"          => "text",
                    "placeholder"   => "评价",
                    "value"         => "",
                ],
            ],
        ],
        "申请订单退款" => [
            "desc"  => "申请订单退款",
            "url"   => "/v1/order/applyrefund",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "order_id" => [
                    "lable"         => "订单id",
                    "type"          => "text",
                    "placeholder"   => "订单id",
                    "value"         => "",
                ],
            ],
        ],
        "我的收藏" => [
            "desc"  => "我的收藏",
            "url"   => "/v1/collect/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "页数",
                    "value"         => "",
                ],
            ],
        ],
        "添加收藏" => [
            "desc"  => "添加收藏",
            "url"   => "/v1/collect/add",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "goodsid" => [
                    "lable"         => "商品ID",
                    "type"          => "text",
                    "placeholder"   => "商品ID",
                    "value"         => "",
                ],
            ],
        ],
        "删除收藏" => [
            "desc"  => "删除收藏",
            "url"   => "/v1/collect/del",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "id" => [
                    "lable"         => "收藏ID",
                    "type"          => "text",
                    "placeholder"   => "收藏ID",
                    "value"         => "",
                ],
            ],
        ],
        "交易记录" => [
            "desc"  => "交易记录",
            "url"   => "/v1/bill/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "页数",
                    "type"          => "text",
                    "placeholder"   => "页数",
                    "value"         => "",
                ],
            ],
        ],
        "用户详情" => [
            "desc"  => "用户详情",
            "url"   => "/v1/user/details",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
            ],
        ],
        "保存基本资料" => [
            "desc"  => "保存基本资料",
            "url"   => "/v1/user/edit",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "sex" => [
                    "lable"         => "性别",
                    "type"          => "text",
                    "placeholder"   => "1男 0女",
                    "value"         => "",
                ],
                "username" => [
                    "lable"         => "昵称",
                    "type"          => "text",
                    "placeholder"   => "昵称",
                    "value"         => "",
                ],
                "name" => [
                    "lable"         => "真实姓名",
                    "type"          => "text",
                    "placeholder"   => "真实姓名",
                    "value"         => "",
                ],
                "bankname" => [
                    "lable"         => "开户行",
                    "type"          => "text",
                    "placeholder"   => "开户行",
                    "value"         => "",
                ],
                "bankuser" => [
                    "lable"         => "开户行用户名",
                    "type"          => "text",
                    "placeholder"   => "开户行用户名",
                    "value"         => "",
                ],
                "banknumber" => [
                    "lable"         => "卡号",
                    "type"          => "text",
                    "placeholder"   => "卡号",
                    "value"         => "",
                ],
            ],
        ],
        "修改绑定手机" => [
            "desc"  => "修改绑定手机",
            "url"   => "/v1/user/editphone",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "newtel" => [
                    "lable"         => "新手机号",
                    "type"          => "text",
                    "placeholder"   => "新手机号",
                    "value"         => "",
                ],
                "password" => [
                    "lable"         => "新密码",
                    "type"          => "text",
                    "placeholder"   => "新密码",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "验证码",
                    "type"          => "text",
                    "placeholder"   => "验证码",
                    "value"         => "",
                ],
            ],
        ],
        "修改密码" => [
            "desc"  => "修改密码",
            "url"   => "/v1/user/editpwd",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "oldpassword" => [
                    "lable"         => "原密码",
                    "type"          => "text",
                    "placeholder"   => "新手机号",
                    "value"         => "",
                ],
                "newpassword" => [
                    "lable"         => "新密码",
                    "type"          => "text",
                    "placeholder"   => "新密码",
                    "value"         => "",
                ],
                "repassword" => [
                    "lable"         => "重复密码",
                    "type"          => "text",
                    "placeholder"   => "重复密码",
                    "value"         => "",
                ],
                "code" => [
                    "lable"         => "验证码",
                    "type"          => "text",
                    "placeholder"   => "验证码",
                    "value"         => "",
                ],
            ],
        ],

    ]
];
